package org.dstart.air.window.sub.draw
{
	import flash.display.Sprite;
	
	public class DrawMaxButton extends DrawSimpleButton
	{
		public function DrawMaxButton(baseColor:uint=0x000000, overColor:uint=0xCCCCCC)
		{
			super(baseColor, overColor);
		}
		
		protected override function DrawImage(spr:Sprite, col:uint):void
		{
			super.DrawImage(spr, col);
			
			spr.graphics.lineStyle(2, col, 1);
			spr.graphics.drawRect(3, 4, 10, 8);
			spr.graphics.moveTo(3, 5);
			spr.graphics.lineTo(11, 5);
		}
	}
}